﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseEntities;
using DataAccess;

namespace BussinessLogic
{
    public class ValidationLogic
    {
        public static bool ValidCard(Card card)
        {
            return ValidationAccess.ValidateCard(card);
        }

        public static bool ValidPIN(Card card)
        {
            return ValidationAccess.ValidatePIN(card);
        }

        public static bool UpdateAttempt(Card card)
        {
            return ValidationAccess.UpdateAttemp(card);
        }

        public static bool ResetAttempt(Card card)
        {
            return ValidationAccess.ResetAttempt(card);
        }

        public static bool UpdateStatus(Card card)
        {
            return ValidationAccess.UpdateStatus(card);
        }
    }
}
